package com.testingedu.model;


/**
 * @author sxq
 * 
 * 系统管理员用户、教师、注册学员
 * 
 * id				用户编号，主关键字
 * account			用户名，用于登录系统
 * password			密码，使用MD5算法加密
 * name				真实姓名，用于教师的介绍
 * photoPath		照片位置，相对于服务根目录的完整路径名
 * description		教师介绍，前台展示用
 * certificateId	获得证书编号
 * certificateName	获得证书名称
 */
public class TUser implements java.io.Serializable{
	private static final long serialVersionUID = 6072792050146538879L;
	private Integer id;
	private String account;
	private String password;
	private String name;
	private String photoPath;
	private String description;
	private String certificateId;
	private String certificateName;
	private String email;
	private String phone;
	private String sex;
	private String qq;
	private String showInfo;
	public TUser() {}
	public TUser(Integer id) {
		this.id = id;
	}
	public String getShowInfo() {
		return showInfo;
	}
	public void setShowInfo(String showInfo) {
		this.showInfo = showInfo;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	private Integer roleId;
	
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhotoPath() {
		return photoPath;
	}
	public void setPhotoPath(String photoPath) {
		this.photoPath = photoPath;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCertificateId() {
		return certificateId;
	}
	public void setCertificateId(String certificateId) {
		this.certificateId = certificateId;
	}
	public String getCertificateName() {
		return certificateName;
	}
	public void setCertificateName(String certificateName) {
		this.certificateName = certificateName;
	}

}
